@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="roadnetInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="code" name="编码" underline="true"/>
                    <#input id="name" name="名称" underline="true"/>
                    <#input id="shortName" name="简称" underline="true"/>
                </div>

                <div class="col-sm-6">
                    <#selectDict id="type" name="路网类型" underline="true" code="roadnetType"/>
                    <#input id="num" name="排序" underline="true"/>
                    <#input id="pName" name="层级" readonly="readonly" hidden="pid"
                    clickFun="RoadnetInfoDlg.showRoadnetSelectTree(); return false;"
                    style="background-color: #ffffff !important;"/>
                    <#select id="isUsed" name="是否用于安全评估" underline="true">
                        <option>-请选择-</option>
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </#select>
                </div>
            </div>

            <!-- 父级层级的选择框 -->
            <div id="parentRoadnetMenu" class="menuContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="parentRoadnetMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="RoadnetInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="RoadnetInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/roadnet/roadnet/roadnet_info.js"></script>
@}
